@charset "utf-8";
@import url("vancl.less");
 
// 本页面的内容包裹器
.wrapper{
    width: 980px;
    margin: 0 auto;
}

body {
    font:12px Arial,Helvetica,sans-serif,宋体;
}

// BEGIN 网页头部样式开始
#divHeader{ 
    // 顶部
    #divTop{
        padding-top: 15px;
        border-bottom: 1px solid #7A7F89;       
     
        // 顶部右边
        #topRight{
            line-height: 39px;
            color: #666;
            
            // 已登录时的div
            #divLoginInfo {
                margin-right: 40px;
                
                .welcome{
                    width: 120px;
                    margin-right: 5px;                   
                }
            }
            
        }                 
    }
    
    // 导航指示
    #locationNav{
        width: 540px;
        height: 28px;
        line-height: 28px;
        margin-top: 10px;
        background: url(../images/newProm.gif);
        font-weight: bold;
        
        em,span {
            display: inline-block; 
            width: 170px;  
            text-align: center;            
        }
        
        em {
            color: #FFF;
        }
        
        span{
            color: #666;
        }
    } 
}
// END 网页头部样式结束

//BEGIN 网页内容样式开始
#divContent{
    padding-top: 10px;
    // 购物车标题
    #cart-top{
        span{
            display: block;
            float: left;
            width: 40px;
            height: 30px;
            background: url(../images/newpromotion.gif) -460px 0px;
        }
        em {
            display: block;
            float: left;
            font-family: @font-yahei;
            line-height: 38px;
            font-size: 18px;
            font-weight: bold;
            margin-left: 5px;
        }
    }
    
    // 提示
    #tip{
        line-height: 20px;
        color: #656565;
        p {      
            span {
                color: @color-red;
            }
        }
    }
    
    // 已下架商品
    #noGood{
    
        table {
            border: 1px solid #A9B0B8;
            width: 100%;
            margin-top: 10px;
            border-collapse: collapse;
            border-spacing: 0px;
            
            th {
                line-height: 35px;
                background: #E6EAF3;
                border-bottom: 1px solid #A9B0B8;
                height: 37px;
                vertical-align: middle;
                h3 {
                    margin-left: 30px;
                    span {
                        display: block;
                        float: left;
                        background: url(../images/sprite-base.gif) 0px -284px;
                        width: 40px;
                        height: 27px;
                        margin-top: 5px;
                    }  
                    em {
                        display: block;
                        float: left;
                        font-size: 14px;
                        line-height: 27px;
                        margin-top: 5px;
                    }              
                }
                
                div {
                    margin-right: 30px;
                }
            }
            
            tr {
                td {
                    padding: 10px 0px;
                    vertical-align: middle;
                    text-align: center;
                }
                
                .name {
                    text-align: left;
                    width: 50%;
                    padding-left: 30px;
                }
            }
        }
    }
    
    // 订单列表
    #lstGood{
        padding-top: 10px;
        
        table {
            border-collapse: separate;
            border-spacing: 0px;
            width: 100%;
            
            tr {
                        
                th {
                    height: 37px;
                    border-top: 1px solid #DCDFE4;
                    border-bottom: 1px solid #B7B7B7;
                    background: url(../images/carthd.png) repeat-x;
                }
                
                .bd-left{
                    border-left: 1px solid #DCDFE4;
                }
                .bd-right{
                    border-right: 1px solid #DCDFE4;
                }
                .bd-bottom{
                    border-bottom: 1px solid #DCDFE4;
                }
                
                .td-bottom{
                    border-bottom: 1px solid #FFF;
                }
                
                .th-white{
                    width: 15px;
                }
                .th_sel {
                    width: 50px;
                }
                .t_img{
                    width: 50px;
                }
                .t_name{
                    padding-left: 10px;
                    text-align: left;
                }
                .t_size, .t_price{
                    width: 80px;
                }
                .t_count{
                    width: 100px;
                    
                    .decrease, .increase, .decrease-disable, .increase-disable{
                        float: left;
                        width: 17px;
                        height: 20px;
                        line-height: 20px;
                        background: url(../images/cartsprite.png);
                    }
                    .decrease{
                        background-position: -51px 0px;
                        &:hover{
                            background-position: -68px 0px;
                        }
                    }
                    .decrease-disable{
                        background-position: -85px 0px;
                        cursor: default;                       
                    }
                    .increase {                     
                        background-position: 0px 0px;                        
                        &:hover{
                            background-position: -17px 0px;
                        }
                    }
                    .increase-disable {                     
                        background-position: -34px 0px;                        
                        cursor: default;
                    }
                    input {
                        float: left;
                        width: 30px;
                        height: 18px;
                        text-align: center;
                        margin: 0px 5px;
                        border: 1px solid #D8D8D8;
                    }
                }
                .t_discount{
                    
                }
                
                .t_count{
                
                }
                
                .t_op{
                    width: 78px;
                    a {
                        color: #999;
                        &:hover{
                            color:@color-red;
                        }
                    }
                }
                
                td {
                    padding: 10px 0px;
                    text-align: center;
                    border-bottom: 1px solid #FFF;
                    
                    img {
                        width: 48px;
                        height: 48px;
                        border: 1px solid #C8C8C8;
                        vertical-align: middle;
                    }                                       
                }
                
                .td-white{
                    width: 15px;
                    background: #FFF;
                }
                .td_sel{
                    padding-left: 30px;
                    text-align: left;
                    width: 50px;
                }
                .td_discount{
                    line-height: 22px;
                    text-align: left;
                    padding-left: 10px;
                    position: relative;
                    
                    .discount-logo{
                        display: inline-block;
                        width: 40px;
                        height: 13px;
                        vertical-align: middle;
                        background: url(../images/cartsprite.png) -48px -20px;
                        cursor: pointer;
                        margin-top: -7.5px;
                        position: absolute;
                        top:50%;
                        left: 0;
                    }
                    
                    em {
                        display: inline-block;
                        margin-left: 24px;
                    }
                }
            }

            .tr_selected {
                background: #F8F8F8;
            }
        }
        
        #summary{
            padding: 12px 10px 0px 0px;
            background: #FFFEF5;
            border: 1px solid #EBE5BB;
            line-height: 25px;
            width: 968px;
            position: relative;                       
                
            #bar {
                padding: 14px 42px 0px 13px;
                
                .del-cart{
                    margin-left: 20px;
                }
                span{
                    margin-left: 42px;  
                    em {
                        color: @color-red;
                        font-weight: bold;
                    }                  
                }                
            }
            
            #priceSum{
                padding: 10px 10px 10px 13px;
                span {
                    color: @color-red;
                    em {
                        font-weight: bold;
                    }
                }
                .amount{
                    font-size: 24px;
                }
            }
            
            #nextOp{
                padding: 0px 0px 15px;
                .goBuy{
                    float: left;
                    width: 122px;
                    height: 37px;
                    line-height: 37px;
                    font-size: 14px;
                    color: #666;
                    background: url(../images/newpromotion.gif) -160px 0px;
                    vertical-align: middle;
                    margin-top: 8px;
                }
                .goPay{
                    float: left;
                    width: 110px;
                    height: 50px;
                    line-height: 50px;
                    margin-left: 10px;
                    padding-left: 50px;
                    background: url(../images/newpromotion.gif);
                    color: #FFF;
                    font-size: 20px;
                    font-family: @font-yahei;
                    vertical-align: middle;
                }
            }
        }
    }
}
// END 网页内容样式结束

// BEGIN 网页底部开始
#divFooter{
    padding-top: 35px;
    
    #bottomCopyrightBox{
        p{
            text-align: center;
            line-height: 33px;
            color: #3E3A39;
            font-family: "Microsoft YaHei";
        }
        
    }
    
    #footerLogoBox{
        padding-top: 23px;       
        p{
            width: 980px;
            height: 45px;
            margin: 0 auto 25px;
            text-align: center;
            a {
                display: inline-block;
                margin: 0px 10px;
            }
            
            #a_footerLogo_1{
                width: 156px;
                height: 42px;
                background: url(../images/cert-redlogo.gif);
            }
            #a_footerLogo_2{
                width: 156px;
                height: 45px;
                background: url(../images/spritesbgtop.png) no-repeat 0px -629px;
            }
            #a_footerLogo_3{
                width: 96px;
                height: 42px;
                background: url(../images/spritesbgtop.png) no-repeat 0px -675px;
            }
        }
    }
}
// BEGIN 网页底部结束
